package com.easychat.entity.constants;

import com.easychat.entity.enums.UserContactTypeEnum;

/**
 * @Author Dongdong
 * @注释
 */

public class Constants {
    public static final Integer LENGTH_11=11;

    public static final Integer LENGTH_20=20;
    public static final String RoBoT_UID = UserContactTypeEnum.USER.getPrefix()+"robot";
    // 文件存储路径
    public static final String FILE_FOLDER_FILE= "/file/";
    public static final String FILE_FOLDER_AVATAR_NAME= "avatar/";
    public static final String IMAGE_SUFFIX= ".png";
    public static final String COVER_IMAGE_SUFFIX= "_cover.png";
    //正则校验
    public static  final String REGX_PASSWORD="String passwordRegex = \"^(?=.*[a-z])(?=.*[A-Z])(?=.*\\\\d)[a-zA-Z\\\\d!@#$%^&*()_-+={[}]|:;'<,>.?/]{8,}$\";";


    public static final String APP_UPDATE_FOLDER = "appUpdate/";
    public static final String APP_EXE_SUFFIX =".exe";
    public static final String FILE_NAME ="EasyChatSetup(LXD)." ;
    public static final Integer ZERO = 0;
    public static final Integer ONE = 1;

    public static Long MillisSECOUNDS_3DAYS_AGO = 3*24*60*60*1000L;
    public static final String[] IMAGE_SUFFIX_LIST = new String[]{".jpeg", ".jpg", ".png", ".gif", ".bmp", ".webp"};

    public static final String[] VIDEO_SUFFIX_LIST = new String[]{".mp4", ".avi", ".rmvb", ".mkv", ".mov"};
    //1MB=1024 * 1024 字节
    public static final Long FILE_SIZE_MB =1024 * 1024L ;

}
